import express from 'express';
import User from '../controller/user/User.js'
var router = express.Router();

router.get('/user/queryUserList.do', User.queryUserList);
router.get('/user/getUserItemById.do', User.getUserItemById);
router.post('/user/addUserItem.do', User.addUserItem);
router.post('/user/editUserItem.do', User.editUserItem);
router.get('/user/delUserItem.do', User.delUserItem);

router.post('/user/loginIn.do', User.loginIn);
router.get('/user/loginOut.do', User.loginOut);

export default router;